package com.toptime.cloudhelper.consumer;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "aliyun.kafka.consumer")
@Data
public class KafkaConsumerProps {
    private String bootstrapServers;
    private String topic;
    private String groupId;
    private String autoOffsetReset;
    private boolean enableAutoCommit;
    private String keyDeserializer;
    private String valueDeserializer;
    private String project;
    private String accessKey;
    private String accessSecret;
}
